// Generated.

using GameHelper.Editor;

namespace GameHelper.Generated
{
    public class AssetMenuFilter : IAssetMenuFilter
    {
        public string Filter(IAssetMenuFilter.AssetType assetType, string assetPath, string menuItemName)
        {
            if (assetType == IAssetMenuFilter.AssetType.Scene)
            {
                if (assetPath.Contains("_Project") || assetPath.Contains("GameMain"))
                {
                    return menuItemName;
                }
                return null;
            }
            // 菜单名称可以原样返回, 也可以自定义
            return menuItemName;
        }
    }
}